loadmod("sys")
-- loadmod("mapper")
module("map",package.seeall)
loaddll("lua\\luamudbot\\dll\\mapper.dll","luaopen_mapper")
id=mushmapper.getid(GetWorldID())
open=function(roomsall)
	return mushmapper.openmap(id,roomsall)
end
getpath=function(r,t,f)
	return mushmapper.getpath(id,r,t,f)
end
getroomid=function(r)
	return mushmapper.getroomid(id,r)
end

getexits=function(r)
	return mushmapper.getexits(id,r)
end
settags=function(t)
	print(t)
	return mushmapper.settags(id,t)
end
setflylist=function(f)
	return mushmapper.setflylist(id,f)
end

getroomname=function(r)
	return mushmapper.getroomname(id,r)
end

addpath=function(r,p)
	mushmapper.addpath(id,r,p)
end

newarea=function(i)
	return mushmapper.newarea(id,i)
end

clearroom=function(i)
	return mushmapper.clearroom(id,i)
end

readroom=function(r,s)
	mushmapper.readroom(id,r,s)
end
